home *** CD-ROM | disk | FTP | other *** search
/ Software Explosion / Software Explosion (Fore-Matt Home Computing)(1996).iso / games / workbench / minefield / minefield.doc < prev    next >
Text File  |  1992-09-04  |  11KB  |  271 lines

  1. /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
  2. /*                                                             */
  3. /*    OOOOOOO   (tm)                                           */
  4. /*  OOOOOOOOOOO          Copyright (c) 1993 Engineering Ideas  */
  5. /* OOOOOOOOOOOOO                All Rights Reserved.           */
  6. /* OOOOOOOOOOOOO                                               */
  7. /*  OOOOOOOOOOO  OOO     This program may not be distributed   */
  8. /*    OOOOOOO  OOOOOOO   without prior permission from the     */
  9. /*            OOOOOOOOO  author(s):   Richard Bemrose BSc.     */
  10. /*             OOOOOOO                                         */
  11. /*           OO  OOO     Engineering Ideas,                    */
  12. /*         OOOOOO        22 Keppel View Road, Kimberworth,     */
  13. /*           OO          Rotherham, S. Yorks., S61 2AS,        */
  14. /*                       ENGLAND                               */
  15. /*                       Internet: R.Bemrose@shu.ac.uk         */
  16. /*                                                             */
  17. /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
  18.  
  19.  
  20.                     M I N E F I E L D   V1.0
  21.                    ~~~~~~~~~~~~~~~~~~~~~~~~~
  22.                                by
  23.                        Richard Bemrose BSc
  24.               Copyright (c) 1993 Engineering Ideas
  25.  
  26.  
  27.                           Feature list:
  28.      Various screen resolutions inc. HR, HRL, SHR and SHRL,
  29.               Countup and Countdown timer option,
  30.                 Nice WB2+ GUI feel for all Amiga,
  31.        Custom minefield (100 rows max., unlimited columns),
  32.                          Hi-score table,
  33.                    checks size of system font.
  34.  
  35.  
  36.                    This program is SHAREWARE.
  37.           If you are a regularly user of this program,
  38.        please consider sending a donation of ú5 (sterling).
  39.  
  40.  
  41.  
  42. ╗╗╗╗╗╗╗╗╗╗
  43. Disclaimer
  44. ╗╗╗╗╗╗╗╗╗╗
  45. The  author(s) cannot be held liable for the accuracy of both the
  46. program and/or manual. The loss of data, in any form, directly or
  47. indirectly   caused   by   the   use   of  this  program  is  the
  48. responsibility of the user.
  49.  
  50.  
  51. ╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗
  52. Copyright and Distribution
  53. ╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗
  54. Minefield  V1.0, Copyright (c) 1993 Engineering Ideas. All rights
  55. Reserved.  This  program  is SHAREWARE. However, the copyright of
  56. both  the  executable  and  source  code remains with Engineering
  57. Ideas.
  58.  
  59. Permission  is  whereby  given  to  freely distribute the program
  60. provided:
  61. 1. No charge is made for its use or distribution
  62. 2. This manual is distributed along with the executable module
  63. 3. No modifications are made to the executable module
  64.  
  65. The following files *must* be distributed or achieved together:
  66.  
  67.    Minefield/Minefield_A               - WB2.+ colour scheme
  68.    Minefield/Minefield_A.info
  69.    Minefield/MField_A
  70.    Minefield/Minefield_B               - WB1.3 colour scheme
  71.    Minefield/Minefield_B.info
  72.    Minefield/MField_B
  73.    Minefield/Minefield.doc             - Document
  74.    Minefield/Minefield.doc.info
  75.    Minefield/Minefield.pic             - Document figures
  76.    Minefield/Minefield.pic.info
  77.    Minefield/Fonts/Minefield/11        - Minefield font
  78.    Minefield/Fonts/Minefield.font
  79.    Minefield/InstallFont               - Script file to copy
  80.    Minefield/InstallFont.info            Minefield font to fonts:
  81.  
  82. ╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗
  83. Playing the Game
  84. ╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗
  85. The  object  of  the  game  is simple, to discover all the hidden
  86. mines  in  the  shortest  time possible. You are presented with a
  87. minefield  with a known number of mines shown in the upperleft of
  88. the  window.  The  timer  in the upper-right of the window starts
  89. with your first action.
  90.  
  91. The game can be re-started any time by pressing the face.
  92.  
  93. To  reveal  a square, click the LEFT MOUSE BUTTON over any of the
  94. unrevealed  squares.  This  will  lead  to  one of three possible
  95. cases:
  96.     
  97.     1)  The  square  is  blank  and the computer performs a flood
  98.         fill of all the surround blanks.
  99.  
  100.  or 2)  A  number in the range of 1 to 8 appears. This means that
  101.         there  is  that  number  of  mines  to  be  found  in the
  102.         surrounding eight squares.
  103.  
  104.  or 3)  A small cross appears and the screen flashes. The game is
  105.         over.
  106.  
  107. By logical deduction (and sometimes with a bit of luck) mines can
  108. be  located.  Refer to the next section and Minefield.pic. Once a
  109. mine  has been found it can be marked by clicking the RIGHT MOUSE
  110. BUTTON over the square ('X'). This will reduce the mines still to
  111. be  found  by one. Clicking the left mouse button over any marked
  112. square will have no effect.
  113.  
  114. If  you  have  any  doubts  over a square, a marked square can be
  115. converted  to  a  question mark by again clicking the RIGHT MOUSE
  116. BUTTON  over  the  square  ('?'). The number of mines still to be
  117. found will remain the same, but the game can not be finished.
  118.  
  119. It  is  possible to mark too many mines. In this case, the number
  120. of mines to be found will show a negative number. A square can be
  121. cleared  from  a  marked  square  or  question mark by once again
  122. clicking the RIGHT MOUSE BUTTON over a marked square.
  123.  
  124. Once  all the mines have been found and correctly marked then the
  125. game  has  been  successfully  completed.  Notice the face in the
  126. upper-middle of the window now wears shades! If you are using the
  127. preset  'Beginner',  'Intermediate'  or  'Expert'  games and have
  128. completed  the game in record time, you will be prompted to enter
  129. your name to be saved in the hi-score table.
  130.  
  131.  
  132. ╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗
  133. A Quick Guide to Understanding the Rules
  134. ╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗
  135. At  this  point  it  would  be useful to simultaneously read this
  136. document  and  view  the supplied 'Minefield.pic' using WDisplay,
  137. PPShow or DPaint etc.
  138.  
  139. Refer to:
  140. Fig.  1  shows  the very simplest case of discovering a mine. All
  141. the  squares marked with '1' denotes that there is one mine to be
  142. found  in  the  adjacent  squares.  Therefore, the mine is in the
  143. middle  and  can  be  marked (not on the picture) by clicking the
  144. RIGHT MOUSE BUTTON over it.
  145.  
  146. Fig.  2  shows a very common situation. The marked mine was found
  147. by looking at the square one to the right of it and down one. The
  148. square directly beneath the marked square shows that there is '1'
  149. mine  in  the  adjacent  squares.  But  considering that you have
  150. already  found that mine, the square left of the marked square is
  151. not  a mine and can be cleared by clicking LEFT MOUSE BUTTON over
  152. that square. The revealed square will reveal at least '2' because
  153. the  bottom  left  unrevealed  square  is a mine. But do not take
  154. anybodys  word for it... A further definite mine is the top right
  155. square.
  156.  
  157. Fig.  3  shows an 'island' of unrevealed squares. One can quickly
  158. see  that  all  the  corner squares are mines. How many mines are
  159. left?  There  are  several  approaches to determine the remaining
  160. mine(s).  Probably  the  simplest  method  is  to start above the
  161. pre-marked  top  left  square.  Here  there  are '2' mines in the
  162. adjacent  squares.  Therefore,  the square next to top pre-marked
  163. mine  has  to  be  a mine and can be marked. Now referring to the
  164. square  below showing '3', all of these mines have been found and
  165. thus  the  remaining adjacent unrevealed squares can be revealed.
  166. If you continue to reveal the remaining unrevealed squares you'll
  167. soon  come  to  the conclusion that there was only one additional
  168. mine to be found excluding the corner squares.
  169.  
  170. Fig.  4  shows  no  corners, but the 3 mines can be easily found.
  171. Watch out for this situation, it can be a life saver!
  172.  
  173.  
  174. ╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗
  175. Menu and Game Options
  176. ╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗
  177. NOTE:   The  hi-score  table only records the three fastest times
  178. ~~~~    from  the  'Beginner',  'Intermediate'  and 'Expert' game
  179.         levels.
  180.  
  181. NOTE:   The  keyboard  short-cuts  can  only be accessed DURING a
  182. ~~~~    game  if  the  mouse is above the menu bar. At the END OF
  183.         THE GAME, these short-cuts can be accessed normally.
  184.  
  185. Beginner        - 10 by 10 minefield with 10 mines (10%).
  186.                   Hi-score option.
  187.  
  188. Intermediate    - 15 by 15 minefield with 35 mines (15%).
  189.                   Hi-score option.
  190.  
  191. Expert          - 22 by 18 minefield with 80 mines (20%).
  192.                   Hi-score option.
  193.  
  194. Suicidal        - Automatically   scales  the  minefield  to  the
  195.                   largest  minefield that can be displayed on the
  196.                   current   screen   mode  with  20%  mines.  For
  197.                   Superhi-res-laced   screen   mode   this  takes
  198.                   approximately 10 seconds to lay 500 mines.
  199.  
  200. WARNING: Be  careful  of this option! Although the program checks
  201. ~~~~~~~  for   memory   allocation  errors,  the  programmer  and
  202.          Engineering  Ideas  can  not be held responsible for any
  203.          reason. See Disclaimer.
  204.  
  205. Custom...       - Allow  a  custom minefield to be specified. The
  206.                   program  has  a  limit of 100 rows but can have
  207.                   unlimited columns (but not recommended!)
  208.  
  209.                   A  novel  feature  is  the  optional  countdown
  210.                   timer.  Once enabled, the object is to find all
  211.                   the  mines in the allocated time otherwise they
  212.                   will self destruct!!!!!
  213.  
  214. Prefs...        - The  size  of  the  minefield  squares  can  be
  215.                   altered    to    accommodate   various   screen
  216.                   resolutions   including  Hi-res,  Hi-res-laced,
  217.                   Super-hi-res and Super-hi-res-laced. Therefore,
  218.                   no more squinting!!!!! I thank you.
  219.                   :-)     :->     :-)     :->     :-)     :->
  220.  
  221.                   The   'save   enable'   option   once  selected
  222.                   automatically  saves  the  hi-score  table  and
  223.                   preferences   on   entering  a  name  into  the
  224.                   hi-score  table.  The  program creates the file
  225.                   's:minefield.prefs'.  This  option  informs the
  226.                   user  which program is currently writing to the
  227.                   disk.  Otherwise,  the  'Save' button has to be
  228.                   manually selected.
  229.  
  230. Hall of Fame... - Show  the  hi-score table in all its glory. The
  231.                   hi-score  can be reset by selecting the 'Reset'
  232.                   button.
  233.  
  234. About...        - Credits/programmers  address.  Please read... A
  235.                   donation  of  any  amount  would  be gratefully
  236.                   accept.
  237.  
  238. QUIT            - Quits the program.
  239.  
  240.  
  241. ╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗
  242. The Bit at the End
  243. ╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗╗
  244. Thanks  must  go  out  to  all of the Beta testers whose help and
  245. advise was invaluable in creating this program:
  246.  
  247.         Ian Deaville
  248.         Jean Desplat
  249.         Derek Howe
  250.         Dave Schofield
  251.         Steve Welsh
  252.  
  253. and of course my family for putting up with me.
  254.  
  255. Cheers!
  256.  
  257. Finally, any comments, bug reports, improvements (WB2.+), mail,
  258. email, postcards, money, etc.
  259. To,
  260.         Richard Bemrose BSc
  261.         22 Keppel View Road
  262.         Kimberworth
  263.         Rotherham
  264.         S. Yorks
  265.         S61 2AS
  266.         ENGLAND
  267.  
  268. email:  R.Bemrose@shu.ac.uk                      <- preferred
  269.  or     R.Bemrose@sheffield-hallam.ac.uk
  270.  
  271.